﻿using System.Collections.Generic;
using VOL.Entity.DomainModels;

namespace VOL.WebApi.Common.DTO
{
    /// <summary>
    /// 科室树形结构DTO
    /// </summary>
    public class OfficeDTO : Office
    {
        ///// <summary>
        ///// 是否选中
        ///// </summary>
        //public bool IsChecked { get; set; } = false;
        ///// <summary>
        ///// 是否展开
        ///// </summary>
        //public bool IsExpand { get; set; } = false;
        /// <summary>
        /// 子节点
        /// </summary>
        public List<OfficeDTO> Children { get; set; } = new List<OfficeDTO>();
        /// <summary>
        /// 节点名称
        /// </summary>
        public string label { get; set; } = string.Empty;
    }
}
